public class Group {
    int id;
    Student member1;
    Student member2;

    public Group() {
    }

    public Group(int id, Student member1, Student member2) {
        this.id = id;
        this.member1 = member1;
        this.member2 = member2;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Student getMember1() {
        return member1;
    }

    public void setMember1(Student member1) {
        this.member1 = member1;
    }

    public Student getMember2() {
        return member2;
    }

    public void setMember2(Student member2) {
        this.member2 = member2;
    }
}
